xenpaging: page-in granttable entries
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 17:29:24 +0000 (18:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 22 Sep 2010 17:29:24 +0000 (18:29 +0100)
commitecb35ecb79e006b4713e9d3c2f4b1b0c68b9b65f
tree6d0d39f462029763a3eb1b7947d01f139ad12866
parentd8800299dbc288820f2e076605712362e6424207
xenpaging: page-in granttable entries

When converting a gfn to mfn, check if the page is paged-out.
If it is, request a page-in and return GNTST_eagain to the caller
to indicate a retry of the hypercall is required.
This fixes granttable errors when xenpaging is enabled in the guest.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen/common/grant_table.c